<h2 class="primary">Invite Frends</h2>
<div class="order_history">

	<div class="yqjilu">
		<table>
			<tr>
				<th class="fontBlue">DATE</th>
				<th class="fontBlue">NAME</th>
				<th class="fontBlue">STATE</th>
				<th class="fontBlue">REBATE</th>
			</tr>
			{{foreach from=$userInviteList key=k item=comitem }}
			<tr>
				<td><span class="fontRed">{{$comitem->create_time}}</span></td> 
				<td><span class="fontRed">{{$comitem->invite_user_mail}}</span></td>  
				{{if $comitem->state eq "1"}}
				<td><span class="fontRed">已注册</span></td> {{/if}} {{if
				$comitem->state eq "0"}}
				<td><span class="fontBlue">未注册</span></td> {{/if}} {{if
				$comitem->rebate eq "1"}}
				<td><span class="fontRed">已返利</span></td> {{/if}} {{if
				$comitem->rebate eq "0"}}
				<td><span class="fontBlue">未返利</span></td> {{/if}}
			</tr>
			{{/foreach}}
		</table>
	</div>
</div>